$(function(){
	$("#login").click(function(){
		window.location.href="login.html";
	});
	
	$("#register").click(function(){
		window.location.href="register.html";
	});
	$("#changepsw").click(function(){
		window.location.href="changepsw.html";
	});
	$("#logout").click(function(){
		$.ajax({  
	         type:'get',   
	         url:'logout.action',  
	         cache:false,  
	         dataType:'json',  
	         success:function(data){ 
					if(data.success){
						alert("注销成功！");
						location.href = "login.html";
					}
	         }  
	     });

	});
	
})